// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "MyHUDInterface.generated.h"

/**
 *
 */
class UUserWidget;
UCLASS()
class RPG_CPP_API AMyHUDInterface : public AHUD
{
	GENERATED_BODY()
public:
	UFUNCTION(BlueprintCallable, Category = "PopMessage")
		void PopMessageOnScreen(FString MessageText);
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "PopMessage")
		FString PopMessageText;
	UUserWidget* MyHUD;
	UUserWidget* PopMessage;
	void BeginPlay() override;
};
